<template>
  <div class="home">
    <img src="http://www.atguigu.com/images/index_new/logo.png" alt="" srcset="">
</div>
</template>

<script setup lang="ts" name="home">
  import { onMounted } from 'vue'
  import { useRouter } from 'vue-router'

  const router = useRouter()

  onMounted(() => {
    setTimeout(() => {
      router.push('/news')
    }, 3000);
  })
</script>

<style lang="less" scoped>

</style>